package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.PromotionPresellProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 预售商品表
 * @author : 
 * @email : 
 * @since : 2020-03-11 06:09:59
 * @version : v1.0.0
 */
@Mapper
public interface  PromotionPresellProductMapper {

    long insert(PromotionPresellProduct promotionPresellProduct);

    long delete(Long id);

    long update(PromotionPresellProduct promotionPresellProduct);

    PromotionPresellProduct queryByPrimaryKey(Long id);

    List<PromotionPresellProduct> query(PromotionPresellProduct promotionPresellProduct);

    List<PromotionPresellProduct> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("promotionPresellProduct") PromotionPresellProduct promotionPresellProduct);

    long queryPageCount(PromotionPresellProduct promotionPresellProduct);
}